package de.windeln.marketing.utils;

import java.util.UUID;

public class RandomNumberGenerator {

	public static int generateRandomUniqueIDAsInt() {
		return Integer.parseInt((""+UUID.randomUUID().hashCode()).replaceAll("-", ""));
	}
	
	public static long generateRandomUniqueIDAsLong() {
//		UUID.randomUUID().getMostSignificantBits()
		return Long.valueOf(generateRandomUniqueIDAsInt());
	}

}
